package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.BankAccount;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;

import javax.servlet.http.HttpServletRequest;

public interface IBankAccountService extends IService<BankAccount> {
    /**
     * 新增服务人员/机构人员银行账户信息
     * @param dto 银行账户信息
     * @param request request
     */
    void addBankAccount(BankAccountUpsertReqDTO dto, HttpServletRequest request);

    /**
     * 获取当前服务人员/机构人员用户银行账号接口
     * @param request request
     * @return BankAccount
     */
    BankAccount getCurrentUserBankAccount(HttpServletRequest request);
}
